package com.qf.tenant.manager.feign;

import com.qf.common.bean.R;
import com.qf.common.model.QfProduct;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 千锋健哥
 */
@FeignClient(name = "qf-center-service")
public interface ProductFeign {

    /**
     * 新增
     */
    @PostMapping("/service/product/add")
    public R<QfProduct> add(@RequestBody QfProduct area);
}
